package com.bjfu.gmms.mapper;

import com.bjfu.gmms.model.StudentInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper2 {
    List<StudentInfo> getStudentsByMentor(@Param("mentorId") int mentorId, @Param("preferenceOrder") int preferenceOrder);

    void chooseStudentByMentor(@Param("mentorId") int mentorId, @Param("studentId") int studentId, @Param("preferenceOrder") int preferenceOrder);
}
